package xidian.vlab.dto;

import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

public class FormDTO {//接受创建教室表单
    private Long tid;//教师id
    private Long cid;//班级号
    private String title;//申请教室名称
    private Date endTime;//截止日期，可删除
    private String profile;//简介
    private MultipartFile file;//学生名单csv
    private String imgId;//镜像id

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public String getImgId() {
        return imgId;
    }

    public void setImgId(String imgId) {
        this.imgId = imgId;
    }

    @Override
    public String toString() {
        return "FormDTO{" +
                ", tid=" + tid +
                ", cid=" + cid +
                ", title='" + title + '\'' +
                ", endTime=" + endTime +
                ", profile='" + profile + '\'' +
                ", file=" + file +
                ", imgId=" + imgId +
                '}';
    }
}
